
file(GLOB DEMO_OpenMP "*.h" "*.hpp" "*.cpp")

add_library(demo_openmp SHARED ${DEMO_OpenMP})

# 指定链接语言为C++
set_target_properties(demo_openmp PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(demo_openmp OpenMP::OpenMP_CXX)
